<%@ Page Language="VB" StylesheetTheme="Default"  MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="QuestionnaireList.aspx.vb" Inherits="Secure_QuestionnaireList" title="List of Questionnaires" %>
<%@ Register Assembly="DotNetPM.Web.UI.WebControls" Namespace="DotNetPM.Web.UI.WebControls" TagPrefix="cc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    &nbsp;<div>
        <table id="Table1" border="0" cellpadding="2" cellspacing="2" width="100%">
            <tr>
                <td colspan="3">
                    <strong><font size="2">LIST OF QUESTIONNAIRES</font></strong></td>
                <td align="right" colspan="1">
                    <asp:HyperLink ID="hlBack" runat="server" NavigateUrl="~/Secure/Default.aspx" ForeColor="Blue">Back</asp:HyperLink></td>
            </tr>
            <tr style="color: #000000">
                <td colspan="4">
                    <hr size="1" width="100%" />
                </td>
            </tr>
        <tr>
            <td rowspan="1" valign="top" width="15">
                &nbsp;</td>
            <td valign="top" style="height: 292px">
                <asp:GridView ID="gvQuestionnaires" runat="server" AllowPaging="True" AllowSorting="True" Width="800px" DataSourceID="QuestionnairesODS" AutoGenerateColumns="False">
                    <Columns>
                        <asp:BoundField DataField="StudyID" HeaderText="StudyID" SortExpression="StudyID" >
                            <ItemStyle HorizontalAlign="Center" Width="80px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="VisitNumber" HeaderText="Visit #" SortExpression="VisitNumber" >
                            <ItemStyle HorizontalAlign="Center" Width="80px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
                        <asp:BoundField DataField="Completion" HeaderText="Completion">
                            <ItemStyle HorizontalAlign="Center" Width="100px" />
                        </asp:BoundField>
                        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="QuestionnaireTaker.aspx?id={0}" Text="Start" >
                            <ItemStyle HorizontalAlign="Center" Width="60px" />
                        </asp:HyperLinkField>
                    </Columns>
                </asp:GridView>
                <asp:ObjectDataSource ID="QuestionnairesODS" runat="server" OldValuesParameterFormatString="original_{0}"
                    SelectMethod="GetQuestionnaires" TypeName="DotNetPM.Business.Questionnaire.Taker.QuestionnaireTakerODS">
                </asp:ObjectDataSource>
            </td>
            <td colspan="2"  valign="top" style="height: 292px">
            </td>
        </tr>
        </table>
    
    </div>
</asp:Content>


